﻿using System;
using System.Collections.Generic;
using ExplorerPlus.DomainObjects;

namespace ExplorerPlus.PluginsInterface
{
    public interface IWebSearchPlugin
    {
        /// <summary>
        /// Returns the search results columns names.
        /// </summary>
        string[] GetSearchColumns();
        /// <summary>
        /// Searches the web for the specified keyword.
        /// </summary>
        List<string[]> Search(string keyword);
        /// <summary>
        /// Searches the web for the specified keyword.
        /// </summary>
        List<string[]> SearchAdvanced(string keyword);
        /// <summary>
        /// Returns full item details.
        /// </summary>
        Item FindItem(string[] keywords);
        /// <summary>
        /// Stores item images to disk.
        /// </summary>
        void DownloadItemImages(Item item, string imagesPath);
    }
}
